#ifndef KEYGETWINDOW_H
#define KEYGETWINDOW_H
#include "BaseWindow.h"

namespace Ui {
class KeyGetWindow;
}

class KeyGetWindow : public BaseWindow
{
    Q_OBJECT
    QString userName,userPass;
    bool toReset,toDownload;
    enum{UPDATE,RESET,DOWNLOAD} ;
        int mode;
public:
    explicit KeyGetWindow(QWidget *parent = 0);
    ~KeyGetWindow();

    void SetMode(int val);
    void SetIncomingData(QString login,QString pass);
   public slots:
    void OnUpdateSearchClick();
    void OnDownloadClick();
    void OnCreateClick();
    void OnReadyClick();
private:
    Ui::KeyGetWindow *ui;
};

#endif // KEYGETWINDOW_H
